<template>
  <a-card :bordered="false" title="">
    <this-table ref="table" />
  </a-card>
</template>

<script>
import thisTable from './table'
export default {
  components: { thisTable },
  methods: {
    onExport() {
      const con = this.$refs.table.$refs.table.conditions
      const token = sessionStorage.getItem('token')
      const params = new URLSearchParams({ ...con, token })
      const host = process.env.VUE_APP_WEB_BASE_URL
      window.open(`${host}/s/balances/export?${params}`)
    },
  },
}
</script>

